﻿using System;
namespace HHModel
{
	/// <summary>
	/// Users:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Users
	{
		public Users()
		{}
		#region Model
		private int _id;
		private string _usernumber;
		private string _username;
		private string _usercode;
		private string _userpassword;
		private string _signature;
		private string _roles;
		private string _usertype;
		private string _userpicurl;
		private string _usertel;
		private string _useremail;
		private string _useraddress;
		private int? _regstate=0;
		private int? _openstate=1;
		private int? _sort=0;
		private string _creater;
		private DateTime? _createtime;
		private string _lastupdater;
		private DateTime? _lastupdatetime;
		/// <summary>
		/// ID编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户编号
		/// </summary>
		public string UserNumber
		{
			set{ _usernumber=value;}
			get{return _usernumber;}
		}
		/// <summary>
		/// 用户昵称
		/// </summary>
		public string UserName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 用户登录帐号
		/// </summary>
		public string UserCode
		{
			set{ _usercode=value;}
			get{return _usercode;}
		}
		/// <summary>
		/// 用户登录密码（MD5加密）
		/// </summary>
		public string UserPassWord
		{
			set{ _userpassword=value;}
			get{return _userpassword;}
		}
		/// <summary>
		/// 个性签名
		/// </summary>
		public string Signature
		{
			set{ _signature=value;}
			get{return _signature;}
		}
		/// <summary>
		/// 所属角色
		/// </summary>
		public string Roles
		{
			set{ _roles=value;}
			get{return _roles;}
		}
		/// <summary>
		/// 用户类型
		/// </summary>
		public string UserType
		{
			set{ _usertype=value;}
			get{return _usertype;}
		}
		/// <summary>
		/// 用户头像
		/// </summary>
		public string UserPicUrl
		{
			set{ _userpicurl=value;}
			get{return _userpicurl;}
		}
		/// <summary>
		/// 用户联系电话
		/// </summary>
		public string UserTel
		{
			set{ _usertel=value;}
			get{return _usertel;}
		}
		/// <summary>
		/// 用户邮箱
		/// </summary>
		public string UserEmail
		{
			set{ _useremail=value;}
			get{return _useremail;}
		}
		/// <summary>
		/// 用户所在地
		/// </summary>
		public string UserAddress
		{
			set{ _useraddress=value;}
			get{return _useraddress;}
		}
		/// <summary>
		/// 登录状态(0：未登录1：已登录)
		/// </summary>
		public int? RegState
		{
			set{ _regstate=value;}
			get{return _regstate;}
		}
		/// <summary>
		/// 用户状态（0：禁用1：启用）
		/// </summary>
		public int? OpenState
		{
			set{ _openstate=value;}
			get{return _openstate;}
		}
		/// <summary>
		/// 排序号
		/// </summary>
		public int? Sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public string Creater
		{
			set{ _creater=value;}
			get{return _creater;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 最后修改人
		/// </summary>
		public string LastUpdater
		{
			set{ _lastupdater=value;}
			get{return _lastupdater;}
		}
		/// <summary>
		/// 最后修改时间
		/// </summary>
		public DateTime? LastUpdateTime
		{
			set{ _lastupdatetime=value;}
			get{return _lastupdatetime;}
		}
		#endregion Model

	}
}

